package com.iris.live.services.services;

import com.iris.live.services.data.models.Lsh消息Model;
import com.iris.live.services.data.models.MessageSettingModel;
import com.iris.live.services.models.PageData;
import com.iris.live.services.models.RequestBase;
import com.iris.live.services.models.ResultData;

import java.util.List;

/**
 *
 *
 */
public interface SystemService {

    Lsh消息Model saveMessage(Lsh消息Model model);

    boolean delMessage(int id, String username);

    PageData getMessageList(SystemService.GetMessageListRequest request, String permit);

    ResultData getMessageListModelAndIsDelete(String username, String permit);

    List saveMessageListModelAndIsDelete(int ids);

    List getMessageSettingList(String permit, String type);

    ResultData initPermitData(String permit);

    public boolean saveMessageSetting(MessageSettingModel model);

    ResultData roleLoginByClientType(String username,String permit,Integer clientType);

    ResultData getUserFunctionByRole(String username,String permit);

    /**
     * 获取杀毒软件清单
     * @return
     */
    ResultData getVirusKillList();

    class GetMessageListRequest extends RequestBase {
        public String receiver;
        public String sender;
        public String updateDate;
        public String content;
        public String remark;
    }

    class createdAreaBody{
        public String areaName;
        public String permit;
        public String dealerName;
        public String parentId;
        public String dealerAddress;
        public String brand;
    }
}
